package com.zero.guava.samples.AsyncFunction;

import com.google.common.util.concurrent.ListenableFuture;

public class AsyncFunctionTest {

    public static void main(String[] args) throws Exception {

        AsyncFunctionSample sample = new AsyncFunctionSample(){
            @Override
            public ListenableFuture<String> apply(Long input) throws Exception {
                return super.apply(input);
            }
        };

        System.out.println(sample.apply(1l).get());
    }

}
